
package com.be.beadmin.device.repository;

import com.be.beadmin.device.entity.EhsItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zty
* @date 2023-08-13
**/
public interface EhsItemRepository extends JpaRepository<EhsItem, String>, JpaSpecificationExecutor<EhsItem> {

    EhsItem findEhsItemByIdAndDelete(String id, Integer delete);

    EhsItem findEhsItemById(String id);

    EhsItem findEhsItemByCheckIdAndItemNameAndDelete(String checkId, String itemName, Integer delete);
}